import request from '@/utils/request'

export const itemAllService = () => request.get('/api/items/page')

export const itemGetOneService = (id) => request.get('/api/items/' + id)

export const itemBuyNow = (item) => request.post('/api/orders/one', item)
